
package com.naza.rpc.core;

import com.naza.rpc.model.RpcRequest;

/**
 * @author yl
 */
public interface ModuleInvoker<T> {
    Class<T> getInterface();

    Object invoke(RpcRequest request) throws Throwable;

    void destroy();
}

